This folder contains replication files for the disability and National Student Clearinghouse (NSC) results in "Army Service in the All Volunteer Era". 

The empirical results from "Army Service in the All Volunteer Era" are derived from proprietary administrative data from the Internal Revenue Service (IRS), the United States Army, the Department of Veterans Affairs (VA), the Social Security Administration (SSA), and NSC. Data from the United States Army, the VA, the SSA, and NSC are currently stored on servers located in the Army's Office of Economic and Manpower Analysis (OEMA) in accordance with data sharing agreements between the respective agencies and OEMA that restrict access to approved OEMA research partners. 

For access to the raw administrative data required to replicate the disability and NSC results from "Army Service in the All Volunteer Era", approved OEMA research partners may make a direct application to OEMA. Other researchers may make separate applications to the U.S. Army, the VA, the SSA, and NSC. 


The contents of this folder are OEMA-master.do, clean_mepcom_data.do, create_final_analysis_dataset.do, make_tables.do, and dynamic_NSC_VADC.do.  
These codes can be run (by those with appropriate access) on an internal OEMA data folder. 
In order to run on an internal folder this code calls the following data sets, which should be stored in a subfolder titled "raw":

raw/mepcom_army_1990_2014 (Per a data sharing agreement between the Defense Manpower Data Center (DMDC) and OEMA, this data are from the DMDC's Military Entrance and Processing Command (MEPCOM) data repository. The data include a record of each individual who applies to enlist in the Active Duty Army between 1990 and 2014.)

raw/mepcom_nsc_enroll_v4_cy (Per a data sharing agreement between NSC and OEMA, this data include NSC enrollment and graduation information for all individuals who applied to the Active Duty Army in 1999 or later. The dataset raw/NSClist_JAN2020_collapsed indicates the years that institutions provided enrollment and graduation data to NSC.)
raw/mepcom_nsc_grad_v4_cy
raw/mepcom_nsc_grad_v4_major_mar2022_nopii
raw/NSClist_JAN2020_collapsed 

raw/mepcom_vadc (Per a data sharing agreement between the VA and OEMA, this data include annual VA Disability Compensation records for all Army servicemembers who enlisted in 1990 or later. Annual VADC records begin in 1999.)

raw/ssdi_2017_import_v1_nopii (Per a data sharing agreement between the SSA and OEMA, this data include annual Social Security Disability Insurance (SSDI) and Supplemental Security Income (SSI) records for all Army servicemembers who enlisted in 1990 or later. Annual records begin in 1999. SSDI information derives from the SSA's Master Beneficiary Record (MBR) file. SSI information derives from the SSA's Supplemental Security Record (SSR) file.)
raw/ssi_2017_import_v3_nopii

raw/cpi (This dataset is the seasonally adjusted Consumer Price Index for All Urban Consumers, available at https://fred.stlouisfed.org/series/CPIAUCSL)

raw/laus_pop_labor_force_1990_2011 (Local Area Unemployment Statistics (LAUS) data are from the U.S. Bureau of Labor Statistics, available at https://data.bls.gov/cgi-bin/dsrv?la)
raw/laus_quarterly_unemployment

In order to run simply, set the current directory at the top of OEMA-master to the directory housing these dofiles (and the raw subfolder containing the above data) and run OEMA-master.
This will call the following subcodes: i) clean_mepcom_data which takes the raw Army applicant data (mepcom_army_1990_2014) and cleans it, 
ii) create_final_analysis_dataset which merges in NSC, VADC, SSI, and SSDI data, iii) make_tables.do which makes the disability and NSC portions of following tables from the paper: A.2, A.7, A.8, A.11, A.12, A.13, A.14, A.15. iv) dynamic_NSC_VADC.do creates the underlying data for all OEMA-side figures v) compile_figs.do creates Figures 5 (panel b), 8 (panel b), A.9 (panels e and f), A.13, A.18 (panels c and d), A.19. (panel b), A.20 (panel c and d) , A.29 (panels d,e,f), A.30 (panels d,e,f) from the underlying data generated by dynamic_NSC_VADC.do. All tables and figure data are stored in an output folder in the current directory.